package cn.thinkluck.pattern.singleton;

/**
 * @Author liutao
 * @DateTime 2024/7/14 下午9:00
 * 饿汉式单例
 */
public class EagerSingleton {
    private static final EagerSingleton INSTANCE = new EagerSingleton();

    private EagerSingleton() {
    }

    public static EagerSingleton getInstance() {
        return INSTANCE;
    }
}
